package com.sy.cloud.wechat.entity.message.event;

import com.sy.cloud.wechat.entity.message.AcceptableXmlMessage;
import com.sy.cloud.wechat.entity.message.EventMessage;
import lombok.Getter;
import lombok.Setter;

/**
 * Created by zhuwenquan on 2017-10-29.
 */
@Getter
@Setter
public class SubscribeEventMessage extends EventMessage implements AcceptableXmlMessage{
    public SubscribeEventMessage(){
        this.setEvent(Event.subscribe);
    }

    // 事件的KEY值，qrscene_为前缀，后面为二维码的参数值
    private String eventKey;
    // 二维码的ticket，可用来换取二维码图片
    private String ticket;
}
